package com.lhd._05mvcboot02.mapper;

import com.lhd._05mvcboot02.pojo.entity.User;
import com.lhd._05mvcboot02.pojo.vo.UserListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author lhd
 * @date 2024/4/22
 * @apiNote
 */
//@Mapper
public interface UserMapper {

    int insert(User user);

    List<UserListVO> selectUserList();

    int delete(Long id);

    void update(User user);

    User getUserById(Long id);
}
